package com.sf.fy.uav.common.enums;

/**
 * @author LTQ
 */
public enum TaskStatusNum {

    /**
     * WAIT_CONFIRM:待确认
     */
    WAIT_CONFIRM(0, "待确认"),

    WAIT_FLY(1, "待起飞"),

    FLYING(2, "运输中"),

    FINISH(3, "已完成"),

    ABORT(4, "异常中断"),

    CANCEL(5, "已取消");

    private Integer status;
    private String name;


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    TaskStatusNum(Integer status, String name) {
        this.status = status;
        this.name = name;
    }
}
